Fix TTY menus when they lead to a minibuffer prompt.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Oct 2013 08:35:51 +0000 (11:35 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Oct 2013 08:35:51 +0000 (11:35 +0300)
commitfe4c30789f7001ae009ff6ab5e59899e0fd2b7d3
tree52a5884046f6b5b8fe5c3a90d781a6af2ac5e8fc
parent4d2bc0ad1ce8df2771411aa562c755e3ef3704d8
Fix TTY menus when they lead to a minibuffer prompt.

 lisp/menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
 TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
 the problem whereby selecting a menu item that leads to a
 minibuffer prompt moves the cursor out of the minibuffer window,
 making it hard to type at the prompt.  Suggested by Stefan Monnier
 <monnier@iro.umontreal.ca>.
lisp/ChangeLog
lisp/menu-bar.el